﻿/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A
 * copy of the license can be found at http://go.microsoft.com/fwlink/?LinkID=131993. If
 * you cannot locate the Microsoft Public License, please send an email to
 * mixon@microsoft.com. By using this source code in any fashion, you are agreeing to
 * be bound by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 *
 * ***************************************************************************/

using System;

namespace MIXOnline.Descry
{
    public delegate void SurfaceEventHandler(object sender, TimelineEventArgs ea);

    public class ViewEventArgs : EventArgs
    {
        public ViewEventArgs(View view)
        {
            this.View = view;
        }
        public View View;
    }

    public class TimelineEventArgs : EventArgs
    {
        public TimelineEventArgs(String data)
        {
            this.Data = data;
        }
        public string Data;
    }

    public class ScrolledEventArgs : EventArgs
    {
        public Direction ScrollDirection { get; private set; }

        public ScrolledEventArgs(Direction scrollDirection)
        {
            this.ScrollDirection = scrollDirection;
        }
    }

    public enum Direction
    {
        Up,
        Down
    }
}
